package org.runtimedao.example.dao;

import java.util.List;

import org.runtimedao.annotation.DAOEntity;
import org.runtimedao.annotation.HQL;
import org.runtimedao.dao.DAO;
import org.runtimedao.example.vo.Job;

@DAOEntity(Job.class)
public interface JobDAO extends DAO<Job> {

	@HQL("FROM Job j WHERE j.employeeProjectPK.employeeId = ?")
	List<Job> getBossJobs(long idBoss);

}
